package jp.co.lkg.springsmp.common.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import jp.co.lkg.springsmp.common.dao.BirthplaceDao;
import jp.co.lkg.springsmp.common.db.dto.BirthplaceDto;
import jp.co.lkg.springsmp.common.db.mapper.BirthplaceMapper;


@Component
public class BirthplaceDaoImpl implements BirthplaceDao {
	
    @Autowired
    private BirthplaceMapper birthplaceMapper;
    
	@Override
	public BirthplaceDto selectByPk(BirthplaceDto dto) {
		return birthplaceMapper.selectByPk(dto);
	}

	@Override
	public BirthplaceDto selectByPkForUpdate(BirthplaceDto dto) {
		return birthplaceMapper.selectByPkForUpdate(dto);
	}

	@Override
	public void insert(BirthplaceDto dto) {
			birthplaceMapper.insert(dto);

	}

	@Override
	public void updateByPk(BirthplaceDto dto) {
		birthplaceMapper.updateByPk(dto);

	}

	@Override
	public void deleteByPk(BirthplaceDto dto) {
		birthplaceMapper.deleteByPk(dto);

	}

	@Override
	public void updateIncludeNull(BirthplaceDto dto) {
		birthplaceMapper.updateIncludeNull(dto);

	}

	@Override
	public List<BirthplaceDto> select(BirthplaceDto dto) {
		return birthplaceMapper.select(dto);
	}

}
